package cn.monkey.family.server.web.method;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class WebArgumentResolverConfig {
    @Bean
    QueryRequestArgumentResolver queryRequestArgumentResolver() {
        return new QueryRequestArgumentResolver();
    }


    @Bean
    RequestContextArgumentResolver requestContextArgumentResolver() {
        return new RequestContextArgumentResolver();
    }
}
